home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / wlib11_2.zip / EXAMPLES.EXE / EXAM9.C < prev    next >
C/C++ Source or Header  |  1991-03-13  |  389b  |  17 lines

  1.   #include "window.h"
  2.   #define NORM   CREATE_VIDEO_ATTRIBUTE(black,white)
  3.  
  4.   WPOINTER w;
  5.   int i;
  6.  
  7.   main()
  8.   {
  9.     WindowInitializeSystem();
  10.     WindowSaveInitial(0);
  11.     w = WindowInitialize(BORDER,1,1,20,10,NORM,NORM,SINGLEBOX);
  12.     WindowOpen(w);
  13.     WindowDisplay(w,1,NOEFFECT);
  14.     GET_KEY();
  15.     for (i=1;i<=10;i++)
  16.       WindowWriteString(w,"Hello World",i,1);
  17.   }